
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-24
 * Time: 9:08
 */
public class Test02 {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        for(int i=0;i<5;i++) {
            arrayList.addRear(i);
        }
        System.out.println(arrayList.legth());
        arrayList.insert(4,999);
        arrayList.insert(1,999);
        System.out.println(arrayList.find(4));
        arrayList.modific(1,88);
        arrayList.display();
        arrayList.delete2(999);
        arrayList.display();

    }
}
